import request from '@/utils/request'

// 后台操作日志
export function getOperationsLogs(params) {
  return request({
    url: '/logs/adminLogs',
    method: 'get',
    params
  })
}

// 推送任务执行日志
export function getTweetsLogs(params) {
  return request({
    url: '/logs/pushLogs',
    method: 'get',
    params
  })
}

// 模板消息推送日志
export function getMaterialsLogs(params) {
  return request({
    url: '/logs/templateLogs',
    method: 'get',
    params
  })
}

// 页面浏览日志
export function getPageviewLogs(params) {
  return request({
    url: '/pageViewLog/findList',
    method: 'get',
    params
  })
}
